package cn.chencaiju.mapper;

import java.util.List;

import cn.chencaiju.domain.Post;

public interface PostMapper {
	int insert(Post post);
	String inert(Post post);
	int delete(Integer id);
	int update(Post post);
	Post selectByPrimary(Integer id);
	Post selectByTitle(String title);
	List<Post> selectAll();
}
